<div class="container" style="min-height: 206px;">
    <div class="heading"><a id="sidebaropengear" onclick="showSideBarSettings();" href="javascript:void(0);"><img width=16" height="16" src="./images/gear.png" alt="" /></a>Information</div>
    <div id="selectedcustomernav" class="inside" style="padding-bottom:0px !important;">
        <input type="text" id="remote-users" style="width:143px !important;display:none"/>
        <div class="selectedcustomer" style="text-align:center;">
            <span id="selectedcustomer">
                <?php if($model!=NULL):?>
                    <center><img src="<?=getImage($model->image,'images/content/',75,75);?>"/></center>
                    <a href="index.php?r=Customers/update&id=<?=$model->custno?>"><?php echo $model->firstname.' '.$model->lastname?></a>
                    
                <?php else:?>
                    None Selected
                <?php endif?>
                
            </span>

        </div>


    </div>

    <div id="viewactionitems"></div>

    <div class="inside" style="padding-top:0px; padding-bottom:0px;">
        <ul class="links" style="margin-left:0px !important;">
            <li id='blankforvalidation1' style="display:none">&nbsp;</li>
        </ul>

    </div>

    <div class="inside" style="padding-top:0px; padding-bottom:0px;">
        <h5 style="padding-left:11px;">Available Actions</h5>
        <ul class="links" style="margin-left:0px !important;">
            <li id='blankforvalidation2' style="display:none">&nbsp;</li>
           
            <?php if(isset($showCreate) && $showCreate==true):?>
                <li><a class="add-button" href='index.php?r=Customers/create'>Add Customer</a></li>
                <?php endif?>
                <?php if($model!=NULL):?>
                <li><a class="add-button" href='index.php?r=Locations/create&custno=<?=$model->custno;?>'>Add Location</a></li>
                <li><a class="add-button" id="createDocument" href="javascript:void(0)">Add Document</a></li>
             
            <?php endif?>
            
        </ul>
    </div>


</div>